<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta property="og:title" content="" /> 
        <meta property="og:description" content="" /> 
        <meta name="keywords" content=""/>
        <title>Chỉ một tình yêu ,Chỉ một C2</title>
        <script type="text/javascript" src="<?= PATH_URL . 'static/js/' ?>jquery-1.8.1.min.js"></script>
        <script type="text/javascript" src="<?= PATH_URL . 'static/js/' ?>main.js"></script>
        <script type="text/javascript" src="<?= PATH_URL; ?>static/js/admin/jquery.url.js"></script>
        <script type="text/javascript" src="<?= PATH_URL ?>static/flash/swfobject/swfobject.js"></script>
        <script type="text/javascript" src="<?= PATH_URL ?>static/flash/swfobject/swfaddress.js"></script>
        <script type="text/javascript" src="<?= PATH_URL ?>static/flash/swfobject/swfcontent.js"></script>
        <script type="text/javascript" src="<?= PATH_URL ?>static/flash/swfobject/swffit.js"></script>
        <script type="text/javascript">
            var root= '<?= PATH_URL ?>';
        </script>
        <script type="text/javascript">
                $(function() {
                    queryString = $.url(window.location).attr('fragment');
                    if(queryString!='' && $.url(window.location).fparam('state')){
                        $.getJSON(root+'users/LoginOpenId?'+queryString,function(data){
                            //console.log(data);
                            if(data.st=='SUCCESS'){
                                window.location = 'http://c2life.com.vn/iphone';
                                
                            }
                        });
                    }else{
                        $.getJSON(root+'users/LoginOpenId/fb?'+queryString, function(data) {
                            if(data.st=='SUCCESS'){
                                try
                                {
                                    window.location = 'http://c2life.com.vn/iphone';
                                }
                                catch(err)
                                {
                                    window.location = 'http://c2life.com.vn/iphone';
                                }
                            }	
                        });
                    }
                });
            </script>
    </head>

    <body>
        <p> Đang xử lý...</p>
        <div id="content_getProfile"></div>
    </body>
</html>